package com.devframe.srtp.util.common;

import com.alibaba.fastjson.JSON;

/**
 * 
 * @author 詹保山
 * 转换JSON格式
 */
public class SRTPJSONUtil {

	
	public static String toJSONString(Object obj){
		return JSON.toJSONString(obj);
	}
	
	
	public static <T> T parseObject(String json,Class<T> clazz){
		return JSON.parseObject(json, clazz);
	}
}
